package com.itheima.demoif;
import java.util.Scanner;
public class Test008 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入你的成绩:");
        int score = sc.nextInt();
        if (score>=0 && score<=100){
            if (score>=95 && score<=100){
                System.out.println("奖励一辆自行车");
            }else if (score>=90 && score<=94){
                System.out.println("游乐场一次");
            }else if (score>=80 && score<=89){
                System.out.println("变形金刚一个");
            }else {
                System.out.println("挨顿揍,这个城市又多了一个伤心的人");
            }
        }else {
            System.out.println("你输入的成绩有误"
                    + "");
        }
    }
}
